import api from "@/api/index";
import utils from "@/utils/index";
import { useStore } from "vuex";

export default () => {
  // const store = useStore();
  let roomInfo = utils.getlocalStorage('room-info') || {}

  // 获取消息
  const count = ref(0)
  let loopFun = null
  const getData = () => {
    return 'getData'
  };

  // onMounted(() => {
  //   getData()
  // })

  // onUnmounted(() => {
  //   clearTimeout(loopFun)
  // })

  return {
    getData,
  }
}
